package com.bluecat.model;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author liaoyong
 * @since 2020-06-30
 */
@Data
  @EqualsAndHashCode(callSuper = false)
    @TableName("sys_menu")
public class Menu implements Serializable {

    private static final long serialVersionUID=1L;

      /**
     * id主键
     */
        private Integer id;

      /**
     * 菜单名称
     */
      private String name;

      /**
     * 菜单url
     */
      private String url;

      /**
     * 菜单图标
     */
      private String icon;

      /**
     * 菜单样式
     */
      private String style;

      /**
     * 父菜单id
     */
      @TableField("pId")
    private Integer pId;

      /**
     * 菜单层级
     */
      private Integer level;

      /**
     * 是否是叶子菜单节点
     */
      @TableField("isLeaf")
    private Integer isLeaf;

      /**
     * 是否是按钮
     */
      @TableField("isBotton")
    private Integer isBotton;


}
